﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.Common
{
    public class ModelRequestDeviceControl
    {

        // public string name { get; set; }
        /// <summary>
        /// 记录id
        /// </summary>
        public string guid { get; set; }
        public string commandName { get; set; }
        public string key { get; set; }
        /// <summary>
        /// 设备id
        /// </summary>
        public string dguid { get; set; }
        public string from { get; set; }

    
        public string gwcode { get; set; }
        public string content { get; set; }
    }
    public class EnumDeviceControlCommandName
    {
        public const string deviceCommand = "deviceCommand";
        public const string bashCommand = "sendBashCommand";
        public const string upConfigAppSetting = "upConfigAppSetting";
        public const string upGradeMQTTConfig = "upGradeMQTTConfig";
        public const string updateGradeSoftware = "updateGradeSoftware";
    }
}
